package red.ouo.distributedtools.redis.message.heander;

import org.springframework.stereotype.Component;
import red.ouo.distributedtools.standard.ProxyHeader;

import java.util.concurrent.ExecutorService;

@Component
public class RegisterHeaderImpl implements RedisRegisterQueueHeader{
    @Override
    public Object header(String queueName, ExecutorService executorService, ProxyHeader run) {
        return run.run(queueName,executorService);
    }
}
